#pragma once

class CSprite
{
private:
	D3DXMATRIX m_World;
public:
	CSprite()
	{
		D3DXMatrixIdentity(&m_World);	
	}
	void SetPos(float _x, float _y, float _z=0);
	void SetPos(D3DXVECTOR3 _Pos);
	void AddPos(float _x, float _y, float _z=0);
	void AddPos(D3DXVECTOR3 _Pos);
	void SetRotate(float _Ang);
	//void AddRotate(float _Ang);
	//void SetScal(float _x, float _y, float _z=0);
	//void SetScal(D3DXVECTOR3 _Scal);
	void Draw( LPDIRECT3DTEXTURE9 _pTex, float _Width, float _Height );
	void Draw( LPDIRECT3DTEXTURE9 _pTex, float _Width, float _Height, int _AnimeX, int _AnimeY );
	void Draw( LPDIRECT3DTEXTURE9 _pTex, float _Width, float _Height, D3DXVECTOR3 _Center );
	void Draw( LPDIRECT3DTEXTURE9 _pTex, float _Width, float _Height, D3DXVECTOR3 _Center, int _AnimeX, int _AnimeY );
};